package com.jxsd.edu.cn.struts2.serviceImpl;

import java.util.List;

import com.jxsd.edu.cn.struts2.dao.SmallCatagoryDao;
import com.jxsd.edu.cn.struts2.daoImpl.SmallCatagoryDaoImpl;
import com.jxsd.edu.cn.struts2.models.SmallCatagory;
import com.jxsd.edu.cn.struts2.services.SmallService;

public class SmallServiceImpl implements SmallService
{
    private   SmallCatagoryDao  dao=new   SmallCatagoryDaoImpl();
	@Override
	public List<SmallCatagory> getAllSmalls() 
	{
		return dao.getAllSmalls();
	}
	@Override
	public List<SmallCatagory> getCataSmalls(String catagoryId) {
		return dao.getAllSmalls(catagoryId);
	}

}
